package cn.wolfcode.rbac.domain;

import com.alibaba.druid.filter.AutoLoad;
import lombok.*;

import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

@Setter
@Getter@ToString
@AllArgsConstructor
@NoArgsConstructor
public class Employee  extends  BaseDomain{

    private String name;

    private String password;

    private String email;

    private Integer age;

    private boolean admin;

    private Department dept;

    private List<Role> roles = new ArrayList<>();


}